package cn.qayy.service;

import java.util.List;
import java.util.Map;

import org.springframework.web.bind.annotation.RequestParam;

import com.github.pagehelper.PageInfo;

import cn.qayy.dto.FocusOnDTO;
import cn.qayy.po.Bid;
import cn.qayy.po.KdbNssFocuson;

/**
 * @author wangyu 中标库接口
 */
public interface IFocusOnService extends BasicService {
	/**
	 * 分页查询
	 * 
	 * @param params
	 * @return
	 */
	PageInfo<Map<String, Object>> selectFocusBy(Map<String, Object> params) throws Exception;

	List<FocusOnDTO> selectFocusForDown(@RequestParam Map<String, Object> params) throws Exception;

	/**
	 * 通过id查询重点终端库
	 * 
	 * @param params
	 * @return
	 */
	KdbNssFocuson selectFocusByID(@RequestParam Integer gfId) throws Exception;

	List<? extends String> selectFocusKeys();

	List<KdbNssFocuson> selectByMap(Map<String, Object> params);
	/**
	 * 查询id
	 * @param params
	 * @return
	 */
	List<Integer> selectIdsByMap(Map<String, Object> params);

}
